package com.lening.provider.po.PropertyNotice;

import com.baomidou.mybatisplus.annotation.*;
import com.lening.common.excel.ExcelImport;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author 刘政华
 * @datetime 2024/6/5 14:06
 * @description 类对象
 */
@Getter
@Setter
@TableName("property_notification_main_table")
public class PropertyNotificationMainTablePO implements Serializable {

    @ExcelImport("id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ExcelImport("serialNumber")
    private Integer serialNumber;

    @ExcelImport("noticeTitle")
    private String noticeTitle;

    @ExcelImport("belongingCommunity")
    private Integer belongingCommunity;

    @ExcelImport("noticeType")
    private Long noticeType;

    @ExcelImport("publisher")
    private String publisher;

    @ExcelImport("publishTime")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime publishTime;

    @ExcelImport("status")
    private Integer status;

    @ExcelImport("recipients")
    private String recipients;

    @ExcelImport("browsingTimes")
    private Integer browsingTimes;

    @ExcelImport("content")
    private String content;

    @ExcelImport("reminderMode")
    private Integer reminderMode;

}
